﻿@model ArbabTravelsERP.Models.RequirementModel

@{
    ViewBag.Title = "CreateRequirement";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>CreateRequirement</h2>


@using (Html.BeginForm()) 
{
    @Html.AntiForgeryToken()
    
    <div class="form-horizontal">
        <h4>RequirementModel</h4>
        <hr />
        @Html.ValidationSummary(true)

        <div class="form-group">
            @Html.LabelFor(model => model.REQUIREMENT_NO, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.REQUIREMENT_NO)
                @Html.ValidationMessageFor(model => model.REQUIREMENT_NO)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.DATE_RECEIVED, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.DATE_RECEIVED)
                @Html.ValidationMessageFor(model => model.DATE_RECEIVED)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.COMPANY_NAME, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.COMPANY_NAME)
                @Html.ValidationMessageFor(model => model.COMPANY_NAME)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CONTACT_RECEIVED, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.CONTACT_RECEIVED)
                @Html.ValidationMessageFor(model => model.CONTACT_RECEIVED)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.STATUS, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.STATUS)
                @Html.ValidationMessageFor(model => model.STATUS)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.NO_OF_OPENING, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.NO_OF_OPENING)
                @Html.ValidationMessageFor(model => model.NO_OF_OPENING)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.INDUSTRY, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.INDUSTRY)
                @Html.ValidationMessageFor(model => model.INDUSTRY)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.SPECIALIZATION, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.SPECIALIZATION)
                @Html.ValidationMessageFor(model => model.SPECIALIZATION)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.EDUCATION, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.EDUCATION)
                @Html.ValidationMessageFor(model => model.EDUCATION)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CERTIFICATION, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.CERTIFICATION)
                @Html.ValidationMessageFor(model => model.CERTIFICATION)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.EXPERIENCE_FROM, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.EXPERIENCE_FROM)
                @Html.ValidationMessageFor(model => model.EXPERIENCE_FROM)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.EXPERIENCE_TO, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.EXPERIENCE_TO)
                @Html.ValidationMessageFor(model => model.EXPERIENCE_TO)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.JOB_DESCRIPTION, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.JOB_DESCRIPTION)
                @Html.ValidationMessageFor(model => model.JOB_DESCRIPTION)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.GENDER, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.GENDER)
                @Html.ValidationMessageFor(model => model.GENDER)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.AGE_FROM, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.AGE_FROM)
                @Html.ValidationMessageFor(model => model.AGE_FROM)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.AGE_TO, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.AGE_TO)
                @Html.ValidationMessageFor(model => model.AGE_TO)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.RELIGION, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.RELIGION)
                @Html.ValidationMessageFor(model => model.RELIGION)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.LANGUAGE, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.LANGUAGE)
                @Html.ValidationMessageFor(model => model.LANGUAGE)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.MODE_OF_INTERVIEW, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.MODE_OF_INTERVIEW)
                @Html.ValidationMessageFor(model => model.MODE_OF_INTERVIEW)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.POSTING_PLACE, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.POSTING_PLACE)
                @Html.ValidationMessageFor(model => model.POSTING_PLACE)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CURRENCY, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.CURRENCY)
                @Html.ValidationMessageFor(model => model.CURRENCY)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.SALARY_FROM, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.SALARY_FROM)
                @Html.ValidationMessageFor(model => model.SALARY_FROM)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.SALARY_TO, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.SALARY_TO)
                @Html.ValidationMessageFor(model => model.SALARY_TO)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.HOUSING, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.HOUSING)
                @Html.ValidationMessageFor(model => model.HOUSING)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.HOUSING_ALLOWANCE, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.HOUSING_ALLOWANCE)
                @Html.ValidationMessageFor(model => model.HOUSING_ALLOWANCE)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.FOOD, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.FOOD)
                @Html.ValidationMessageFor(model => model.FOOD)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.FOOD_ALLOWANCE, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.FOOD_ALLOWANCE)
                @Html.ValidationMessageFor(model => model.FOOD_ALLOWANCE)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.TRAVELLING, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.TRAVELLING)
                @Html.ValidationMessageFor(model => model.TRAVELLING)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.TRAVELLING_ALLOWANCE, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.TRAVELLING_ALLOWANCE)
                @Html.ValidationMessageFor(model => model.TRAVELLING_ALLOWANCE)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.MEDICAL, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.MEDICAL)
                @Html.ValidationMessageFor(model => model.MEDICAL)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.MEDICAL_ALLOWANCE, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.MEDICAL_ALLOWANCE)
                @Html.ValidationMessageFor(model => model.MEDICAL_ALLOWANCE)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.OVERTIME, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.OVERTIME)
                @Html.ValidationMessageFor(model => model.OVERTIME)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.TRIP_PER_YEAR, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.TRIP_PER_YEAR)
                @Html.ValidationMessageFor(model => model.TRIP_PER_YEAR)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.CONTRACT_PERIOD, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.CONTRACT_PERIOD)
                @Html.ValidationMessageFor(model => model.CONTRACT_PERIOD)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.WORKING_HOURS, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.WORKING_HOURS)
                @Html.ValidationMessageFor(model => model.WORKING_HOURS)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.LEAVES, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.LEAVES)
                @Html.ValidationMessageFor(model => model.LEAVES)
            </div>
        </div>

        <div class="form-group">
            @Html.LabelFor(model => model.REMARK, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.EditorFor(model => model.REMARK)
                @Html.ValidationMessageFor(model => model.REMARK)
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Create" class="btn btn-default" />
            </div>
        </div>
    </div>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
